package com.gba.mark.comment.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Comment implements Serializable {

    private static final long serialVersionUID = 1L;

    //主键
    private Integer id;

    //评论内容
    private String content;

    //用户id
    private Integer user_id;

    //所回复评论的id
    private Integer parent_id;

    //在哪个工作组发布评论
    private Integer group_id;

    //发布时间
    private Date date;

}
